package cn.itsource.ldj.org.service;

import cn.itsource.ldj.org.domain.Detail;
import cn.itsource.ldj.org.domain.Dictionaries;
import cn.itsource.ldj.org.query.DictionariesQuery;
import cn.itsource.ldj.util.QueryResult;

import java.util.List;

public interface IDictionariesService {
    List<Dictionaries> findAll();

    Dictionaries findOne(Long id);

    void update(Dictionaries dictionaries);

    void save(Dictionaries dictionaries);

    void delete(Long id);

    QueryResult<Dictionaries> queryPage(DictionariesQuery query);

    void batchRemove(List<Long> ids);

    QueryResult<Detail> findAllDetail(DictionariesQuery query);

    void detailUpdate(Detail detail);

    void detailSave(Detail detail);

    void detailDelete(Long id);
}
